/**
 * Copyright &copy; 2012-2014 <a href="https://github.cn.apestar">JeeSite</a> All rights reserved.
 */
package cn.apestar.modules.common.feedback.entity;

import org.hibernate.validator.constraints.Length;

import cn.apestar.common.persistence.DataEntity;

/**
 * 任务图片Entity
 * @author lvh
 * @version 2016-07-10
 */
public class SysImage extends DataEntity<SysImage> {

    private static final long serialVersionUID = 1L;

    private String imageType; // image_type

    private String url; // url

    private String dataId; // data_id

    public SysImage() {
        super();
    }

    public SysImage(String id) {
        super(id);
    }

    @Length(min = 0, max = 11, message = "image_type长度必须介于 0 和 11 之间")
    public String getImageType() {
        return imageType;
    }

    public void setImageType(String imageType) {
        this.imageType = imageType;
    }

    @Length(min = 0, max = 512, message = "url长度必须介于 0 和 512 之间")
    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    @Length(min = 0, max = 64, message = "data_id长度必须介于 0 和 64 之间")
    public String getDataId() {
        return dataId;
    }

    public void setDataId(String dataId) {
        this.dataId = dataId;
    }

}